Re: Composite types for composite primary/foreign keys? - Mailing list pgsql-general

From Wolfgang Keller
Subject Re: Composite types for composite primary/foreign keys?
Date
Msg-id 9AC70A9E4CF98C1DC2865A47@[192.168.1.25]
Whole thread Raw
In response to Re: Composite types for composite primary/foreign keys?  (Michael Glaesemann <grzm@seespotcode.net>)
Responses Re: Composite types for composite primary/foreign keys?  (Michael Glaesemann <grzm@seespotcode.net>)
List pgsql-general
Hello,

and thanks for your reply.

>> I'm sorry, but I'm apparently too dump to actually figure out
>> myself whether this means that I can use a single composite type
>> column as a primary / foreign key or whether not...?
>
> What have you actually tried?

I wanted to simplify the schema and make it more "readable" for
clueless morons like me. >;->

> You can learn a lot by a few minutes of
> exploration at a psql prompt.

Yes, I will have to get used to using the Postgres prompt just like I
do with the Python prompt. ;-)

Sincerely,

Wolfgang Keller



pgsql-general by date:

Previous
From: "x asasaxax"
Date:
Subject: Postgre and XML
Next
From: Peter Eisentraut
Date:
Subject: Re: Postgre and XML